package com.hnchances.mapper;

import com.hnchances.entity.Teacher;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author: hm
 * @Date: 2025/09/28 15:33
 * @Description:    教师类的Mapper接口
 */
@Mapper
public interface TeacherMapper {
    void addTeacher(Teacher teacher);

    void deleteTeacherById(Integer id);

    void updateTeacherById(Teacher teacher);

    Teacher queryTeacherById(Integer id);
}
